<template>
  <div class="app-container">
    <div>
      <el-row :gutter="20">

        <el-col :span="8" :xs="24">
          <user-card />
        </el-col>

        <el-col :span="16" :xs="24">
          <el-card>
            <el-tabs v-model="activeTab">
              <el-tab-pane label="日志" name="timeline">
                <timeline />
              </el-tab-pane>
              <!-- <el-tab-pane label="设置" name="account">
                设置
              </el-tab-pane> -->
            </el-tabs>
          </el-card>
        </el-col>

      </el-row>
    </div>
  </div>
</template>

<script>
import UserCard from './components/UserCard'
import Timeline from './components/Timeline'

export default {
  name: 'Profile',
  components: { UserCard, Timeline },
  data() {
    return {
      activeTab: 'timeline'
    }
  }
}
</script>
